<template>
    <div class="menu">

            <div class="cate">
                <div class="sub">
                    <h3>出版图书
                    </h3>
                    <p>
                        <a href="">小说作品</a>
                        <a href="">人文社科</a>
                        <a class="ll" href="">成功励志</a>
                    </p>
                    <p>
                        <a href="">经济管理</a>
                        <a href="">品质生活</a>
                        <a class="ll" href="">电子机械</a>
                    </p>
                </div>
            </div>


            <div class="cate">
                <div class="sub">
                    <h3>国风中文</h3>
                    <p>
                        <a href="">都市风情</a>
                        <a href="">历史传说</a>
                        <a class="ll" href="">玄幻仙侠</a>
                    </p>
                    <p>
                        <a href="">浪漫青春</a>
                        <a href="">都市言情</a>
                        <a class="ll" href="">风韵古韵</a>
                    </p>
                </div>
            </div>


            <div class="cate">
                <div class="sub">
                    <h3>清月学院</h3>
                    <p>
                        <a href="">穿越星空</a>
                        <a href="">斋宫宅斗</a>
                        <a class="ll" href="">种田重生</a>
                    </p>
                    <p>
                        <a href="">悬疑探险</a>
                        <a href="">科幻奇幻</a>
                        <a class="ll" href="">短篇小说</a>
                    </p>
                </div>
            </div>

    </div>
</template>


<script>
  export default {
    data() {
      return {
        activeName: '1'
      };
    },
     methods: {
      handleChange(val) {
        console.log(val);
      }
    }
  }
</script>

<style scoped>
*{
    box-sizing: content-box;
}

.menu .sub{
    padding: 0 0 26px;
}
.menu .sub h3 {
    position: relative;
    height: 20px;
    line-height: 20px;
    padding: 12px 20px 2px;
    background-position: 0 -86px;
    font-size: 16px;
    color: #4c4c4c;
    font-weight: 700;
    border-top: 1px solid #ebe6e1;
}
.menu .sub h3 i{
    position: absolute;
    top: 15px;
    right: 21px;
    background-position: 0 -174px;
    width: 4px;
    height: 9px;
}
.cate .sub p{
    height: 24px;
    line-height: 24px;
    padding: 4px 9px;
    text-align: center;
    font-size: 12px;
}
.cate .sub p a::after{
    content: "|";
    color: #a1a1a1;
    padding: 0 8px;

}
.sub p a.ll::after {
    content: "";
    padding: 0;
}
a{
    text-decoration: none;
    color: #333;
    outline: none;
}
</style>
